#include <stdio.h>

int main(){//0...0 0...0 00000001 00001011 = 267
	int a = 257;
	scanf("%hhd",&a);
	printf("1) %hhx\n",a);
	printf("2) %%%i\n",a);
	printf("3) %05i\n",a);
	printf("4) %.2f\n",double(a));
	printf("5) %X %x %o %d %i\n",a,a,a,a,a);
	printf("6) %.2f\n",double(a));
	return 0;
}
